<template>
  <div align="center">
    <form action="" @submit.prevent="add" v-model="form">
      <p>满<input type="text" v-model='form.man'></p>
      <p>减<input type="text" v-model='form.jian'></p>
      <p>开始时间<input type="text" v-model='form.stime'></p>
      <p>结束时间<input type="text" v-model='form.etime'></p>
      <p>总张数<input type="text" v-model='form.count'></p>
      <button type="submit">添加</button>
    </form>
  </div>
</template>
<script>
export default {
  data() {
    return {
      form: {}
    }
  },
  methods: {
    add() {
      this.axios.post('coupon/add', this.form).then(res => {

      })
    }
  },
}
</script>
<style lang="">

</style>
